package com.isoftstone.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.isoftstone.pojo.Users;

@Repository
public interface UserDAO {
	
	public Users selectlogin(String username,String password);
	
	//将录入的人员信息插入数据库中
	public int insert(Users user);
		
	public List<Users> selectAll();
	
	public Users selectuser(int id);
	
	public int update(Users user);
	
	public int delete(int id);

}
